package com.itheima.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.pojo.SysUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysUserVO extends SysUser implements Serializable {

    private static final long serialVersionUID = 1L;
    //角色名集合
    private List<String> rolename;

    @JsonProperty("role_id")
    private List<String> roleIdList;
}
